package com.wxzz.elearing.comment.vo;


import com.wxzz.elearing.comment.entity.Skill;
import com.wxzz.elearning.common.dto.FeignWxUserDto;
import com.wxzz.elearning.common.dto.WxUserDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * <p>
 * 技能
 * </p>
 *
 * @author
 * @since 2021-05-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "SkillVo对象", description = "技能Vo")
public class SkillVo extends Skill {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "发布者头像")
    private String icon;

    @ApiModelProperty(value = "发布者姓名")
    private String nickName;

    @ApiModelProperty(value = "发布者部门")
    private String department;

    @ApiModelProperty(value = "技能分类（文本）")
    private String categoryName;

    @ApiModelProperty(value = "用户详情")
    private FeignWxUserDto userInfo;
}
